package com.wuliu.system.mapper;

import java.util.List;
import com.wuliu.system.domain.SysPushMsg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * app推送消息Mapper接口
 * 
 * @author realue
 * @date 2023-11-06
 */
public interface SysPushMsgMapper extends BaseMapper<SysPushMsg>
{
    /**
     * 查询app推送消息
     * 
     * @param id app推送消息主键
     * @return app推送消息
     */
    public SysPushMsg selectSysPushMsgById(String id);

    /**
     * 查询app推送消息列表
     * 
     * @param sysPushMsg app推送消息
     * @return app推送消息集合
     */
    public List<SysPushMsg> selectSysPushMsgList(SysPushMsg sysPushMsg);

    /**
     * 新增app推送消息
     * 
     * @param sysPushMsg app推送消息
     * @return 结果
     */
    public int insertSysPushMsg(SysPushMsg sysPushMsg);

    /**
     * 修改app推送消息
     * 
     * @param sysPushMsg app推送消息
     * @return 结果
     */
    public int updateSysPushMsg(SysPushMsg sysPushMsg);

    /**
     * 删除app推送消息
     * 
     * @param id app推送消息主键
     * @return 结果
     */
    public int deleteSysPushMsgById(String id);

    /**
     * 批量删除app推送消息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysPushMsgByIds(String[] ids);
}
